package com.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.shared.context.User;
import com.shared.model.Assure;

public interface UserManagementServiceAsync {

	void getList(AsyncCallback<List> callback);

	void save(User user,Assure assure, AsyncCallback<User> callback);

	void update(User user, AsyncCallback<User> callback);

	void delete(User user, AsyncCallback<User> callback);

	void saveForAdmin(User user, AsyncCallback<User> callback);

	void getUserCourant(AsyncCallback<User> callback);

	void getAssureCourant(AsyncCallback<Assure> callback);

	void changePassword(String oldP, String newP, AsyncCallback<String> callback);

	
		

}
